Causes of common headaches

Avoiding pain is easier when you understand how to prevent headaches

Employee or owner feeling bad at supermarket

It's hard to think about the causes of headaches when you're struggling with pain. Once you're feeling better, figuring out what leads to the agony can help you dodge it in the future. This requires you to pay attention to the environment, eating habits, and activities that spark headache discomfort.

Types and causes of common headaches

The most common types of headaches are tension and migraine headaches. Tension headaches strike when the muscles in the head and neck tighten. Migraines come on when supersensitive nerve endings in the brain create pain.

But what makes the muscles tense, or causes some nerve endings in the brain to become so sensitive? That's not as well understood. Those causes of headaches can vary from person to person. But some triggers are common.

Tension headaches are often set off by:

  • stress
  • lack of sleep
  • fatigue
  • hunger
  • caffeine withdrawal
  • abrupt cessation of medications that contain caffeine, such as some pain-relieving medications like ibuprofen (Advil) or acetaminophen (Tylenol)
  • weather changes
  • food and drinks, such as chocolate; processed foods that contain monosodium glutamate (MSG); or alcohol

Many of those triggers for tension headaches—especially stress, hunger, fatigue, and lack of sleep—can also set off a migraine headache. But nailing down causes of headaches in the migraine category is a little trickier; the headaches may stem from many factors, or combinations of factors. The particular combination is specific to an individual. Potential culprits include

  • being around smoke
  • certain smells
  • bright light, such as sunlight, or flashing lights
  • foods, such as aged cheeses, avocados, bananas, chocolate, peas, pork, sour cream, nuts, peanut butter, or yogurt
  • alcohol
  • changes in estrogen levels for women
  • taking certain prescription medications, such as nitroglycerin (Nitrostat), prescribed for a heart condition; and estrogen, prescribed for birth control or menopausal symptoms
  • abrupt cessation of caffeine
  • abrupt cessation of medications that contain caffeine, such as some pain-relieving medications like ibuprofen (Advil) or acetaminophen (Tylenol)
  • food additives, such as monosodium glutamate (MSG) and nitrates (found in cured meats).

How to prevent headaches

When debating how to prevent headaches, the easy answer is to try to avoid the causes of headaches in the first place. But doing that takes careful planning. You'll have to note your triggers first, and write down the characteristics of your headaches, including their frequency, duration, intensity, as well the circumstances surrounding your headaches, including:

  • your medications
  • diet
  • sleep patterns
  • activities
  • alcohol intake
  • menstrual cycle, for women
  • environment
  • stress levels
  • physical problems.

After you've pinpointed these causes of headaches, you'll begin to see a pattern, and you'll develop a better idea of how to avoid your triggers and how to prevent headaches.

Image: FG Trade/Getty Images

Disclaimer:

As a service to our readers, Harvard Health Publishing provides access to our library of archived content. Please note the date of last review or update on all articles.

No content on this site, regardless of date, should ever be used as a substitute for direct medical advice from your doctor or other qualified clinician.

Free Healthbeat Signup

Get the latest in health news delivered to your inbox!

Sign Up
Harvard Health Publishing Logo

Thanks for visiting. Don't miss your FREE gift.

The Best Diets for Cognitive Fitness, is yours absolutely FREE when you sign up to receive Health Alerts from Harvard Medical School

Sign up to get tips for living a healthy lifestyle, with ways to fight inflammation and improve cognitive health, plus the latest advances in preventative medicine, diet and exercise, pain relief, blood pressure and cholesterol management, and more.

Harvard Health Publishing Logo

Health Alerts from Harvard Medical School

Get helpful tips and guidance for everything from fighting inflammation to finding the best diets for weight loss...from exercises to build a stronger core to advice on treating cataracts. PLUS, the latest news on medical advances and breakthroughs from Harvard Medical School experts.

BONUS! Sign up now and
get a FREE copy of the
Best Diets for Cognitive Fitness

Harvard Health Publishing Logo

Stay on top of latest health news from Harvard Medical School.

Plus, get a FREE copy of the Best Diets for Cognitive Fitness.

Harvard Health Publishing Logo

Stay on top of latest health news from Harvard Medical School.

Plus, get a FREE copy of the Best Diets for Cognitive Fitness.